Obtaining
the Status of a Capture Window
The following
example uses the SetWindowPos
CAPSTATUS CapStatus;
capGetStatus(hWndC, &CapStatus, sizeof
(CAPSTATUS));
SetWindowPos(hWndC, NULL, 0, 0,
CapStatus.uiImageWidth,
CapStatus.uiImageHeight, SWP_NOZORDER | SWP_NOMOVE);